<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <title>FRAME 3 </title>
        <meta content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0" name="viewport"/>
        <meta content="yes" name="apple-mobile-web-app-capable"/>
        <meta content="black" name="apple-mobile-web-app-status-bar-style"/>
        <meta content="telephone=no" name="format-detection"/>

   		<link rel="stylesheet" type="text/css" href="../Ryancss/frame2.css"/>	
        <script type="text/javascript" src="../script/movie.js"></script>		
		<style>
		
	   .display-block{
	   display :block ;
	   }
	   
	   .display-none{
	   display :none ;
	   }
		
		</style>

    </head>
    <body>

        <section class="aui-flexView">

            <section class="aui-scrollView display-none" id="display-block-show_default">

	<div style=" background: linear-gradient(to right,#f370af,#5515ee); ">
                <div class="aui-title-bg" >
                    <h2>精选推荐·HOT</h2>
                </div>
                <div class="aui-palace" >

					<div class="aui-Ryan-top-ico" id ="recommend_top_ad_list">
								
						
								<script type="text/x-dot-template" id="recommend_top_ad_template">
									
										{{~ it.recommend_top_ad : value : index }}
											
											<a  tapmode onclick="toBanner('{{= value. linkurl }}')">
												<div class="aui-Ryan-top-ico-t">
													
											<img class="lazy" data-src="http://admin.sky-gy.com{{= value. picurl }}" src="http://admin.sky-gy.com{{= value. picurl }}" onload="loadImg(this);" >	
												</div>
												<div class="aui-Ryan-top-ico-text">{{= value. name }}</div>
											</a>
										  

										{{~}}

									</script>
							
                                    <a >
                                        <div class="aui-Ryan-top-ico-t">
                                            <img src="" > 
                                        </div>
                                   <!--     <div class="aui-Ryan-top-ico-text">推荐位</div> -->
                                    </a>
			 
						
                                    <a >
                                        <div class="aui-Ryan-top-ico-t">
                                            <img src="" > 
                                        </div>
                                   <!--     <div class="aui-Ryan-top-ico-text">推荐位</div> -->
                                    </a>
			 
                                    <a >
                                        <div class="aui-Ryan-top-ico-t">
                                            <img src="" > 
                                        </div>
                                   <!--     <div class="aui-Ryan-top-ico-text">推荐位</div> -->
                                    </a>
			 
                                    <a >
                                        <div class="aui-Ryan-top-ico-t">
                                            <img src="" > 
                                        </div>
                                   <!--     <div class="aui-Ryan-top-ico-text">推荐位</div> -->
                                    </a>
			 									
	 
                                    <a >
                                        <div class="aui-Ryan-top-ico-t">
                                            <img src="" > 
                                        </div>
                                   <!--     <div class="aui-Ryan-top-ico-text">推荐位</div> -->
                                    </a>
			 												
                                </div>	
					

					 
                </div>


               <div class="aui-block">
                   <div class="m-slider">
                       <div class="slider-wrapper" >
					   
					   		 <div class="slider-item" id="recommend_banner_ad_list">				
								<script type="text/x-dot-template" id="recommend_banner_ad_template">
									
										{{~ it.recommend_banner_ad : value : index }}
										
											   <a onclick="toBanner('{{= value. linkurl }}')">
											<img class="lazy" data-src="http://admin.sky-gy.com{{= value. picurl }}" src="" onload="loadImg(this);" >	
													
											   </a>
  
										{{~}}

									</script>
					  
                         
                               <a >
                                   <img src="">
                               </a>
							   
                           </div>

			
						   
						   
                       </div>
                       <div class="slider-pagination"></div>
                   </div>
                   <div class="aui-block-footer"></div>
               </div>
			   
			   
		</div>	   
			   
               <div class="aui-flex">
                   <div class="aui-flex-box" id="recommend_text_ad_list">
				   	<h3 onclick="toBanner('{{= value. linkurl }}')"><em>活动</em> ……</h3>
				   					<script type="text/x-dot-template" id="recommend_text_ad_template">
									
										{{~ it.recommend_text_ad : value : index }}
											<h3 onclick="toBanner('{{= value. linkurl }}')"><em>{{= value. name }}</em> {{= value. content }}</h3>
										{{~}}

									</script> 
					 <!--  <h3 ><em>逐梦影视</em>    发的发斯蒂芬  </h3>  -->
					   
					   
                   </div>
               </div>
			   
			   
			   
			   
			   
                <div class="aui-flex">
                    <div class="aui-flex-box">
                        <h1>任务中心</h1>
                    </div>
                    <div class="aui-flex-more">
                        <i class="icon icon-more"></i>
                    </div>
                </div>
                <div class="aui-fl-list b-line">
				
					<span class="display-none"  id="display-block-wechat_login">
				     <a class="aui-flex">
                        <div class="aui-fl-img">
                            <img src="">
                        </div>
                        <div class="aui-flex-box">
                            <h4>微信快捷登陆</h4>
                            <p> <i class="icon icon-jin"></i><span id="wechat_login_code_integral">0 积分</span></p>
                        </div>
                        <div class="aui-fl-button">
                            <button  ><!--设置 头像 -->已完成</button>
                        </div>
                    </a>
					</span>
				
				
				
                    <a class="aui-flex">
                        <div class="aui-fl-img">
                            <img src="">
                        </div>
                        <div class="aui-flex-box">
                            <h4>首次上传头像</h4>
                            <p> <i class="icon icon-jin"></i><span id="upload_headimg_integral">0 积分</span></p>
                        </div>
                        <div class="aui-fl-button">
                            <button  onclick="toHeadimg()"  id="headimgurl" ><!--设置 头像 -->领取积分</button>
                        </div>
                    </a>
                    <a  class="aui-flex">
                        <div class="aui-fl-img">
                            <img src="">
                        </div>
                        <div class="aui-flex-box">
                            <h4>设置昵称</h4>
                            <p> <i class="icon icon-jin"></i><span id="set_nickname_integral">0 积分</span></p>
                        </div>
                        <div class="aui-fl-button">
                            <button  onclick="toShezhi()" id="nick_name"><!--设置 昵称 -->领取积分</button>
                        </div>
                    </a>
                    <a class="aui-flex">
                        <div class="aui-fl-img">
                            <img src="">
                        </div>
                        <div class="aui-flex-box">
                            <h4>设置提现账户</h4>
                            <p> <i class="icon icon-jin"></i><span id="upload_alipay_code_integral">0 积分</span></p>   
                        </div>
                        <div class="aui-fl-button">
                            <button  onclick="toAlipay()"  id="zfb"><!--设置 收款码 -->领取积分</button>
                        </div>
                    </a>
                </div>
				
							   
			   
			   
			   
			   
			   
			   
			   
			   
			   
			   
			   
			   
			   
			   
			   
                <div class="aui-slide-list">
                    <ul class="aui-slide-item-list" id="recommend_roll_ad_list">
	
								<script type="text/x-dot-template" id="recommend_roll_ad_template">
									
										{{~ it.recommend_roll_ad : value : index }}
											
											<li class="aui-slide-item-item">
												<a onclick="toBanner('{{= value. linkurl }}')">
												
											<img class="lazy" data-src="http://admin.sky-gy.com{{= value. picurl }}" src="http://admin.sky-gy.com{{= value. picurl }}" onload="loadImg(this);" >	
												</a>
											</li>


										{{~}}

									</script>
					
                      <!--
					  <li class="aui-slide-item-item">
                            <a href="javascript:;">
                                <img src="images/ss-001.png" alt="">
                            </a>
                        </li>
						-->

                    </ul>

                </div>


				
				
				
				
				
				
                <div class="aui-flex">
                    <div class="aui-flex-box">
                        <h1>精选活动</h1>
                    </div>
                    <div class="aui-flex-more">
                    </div>
                </div>
                <div class="aui-list-ad" id="recommend_big_picture_ad_list">
				
												<script type="text/x-dot-template" id="recommend_big_picture_ad_template">
									
										{{~ it.recommend_big_picture_ad : value : index }}
											<div class="aui-ad-list-item" onclick="toBanner('{{= value. linkurl }}')">

												
											<img class="lazy" data-src="http://admin.sky-gy.com{{= value. picurl }}" src="http://admin.sky-gy.com{{= value. picurl }}" onload="loadImg(this);" >	
													
													</div>

										{{~}}

									</script>
				
			 <!--  
                  <div class="aui-ad-list-item">
                        <img src="images/ad-003.png" >
                    </div>-->

                </div>

                <div class="aui-list-ad">
    
                    <div class="aui-ad-list-item"  id="recommend_small_picture_ad_list">
					
					
									<script type="text/x-dot-template" id="recommend_small_picture_ad_template">
									
										{{~ it.recommend_small_picture_ad : value : index }}
										
										     <a onclick="toBanner('{{= value. linkurl }}')">
											<img class="lazy" data-src="http://admin.sky-gy.com{{= value. picurl }}" src="http://admin.sky-gy.com{{= value. picurl }}" onload="loadImg(this);" >	

											</a>
										{{~}}

									</script>
									<!--
                        <a href="javascript:;">
                            <img src="images/ad-004.png" alt="">
                        </a>
                        <a href="javascript:;">
                            <img src="images/ad-005.png" alt="">
                        </a>
						
						-->
						   
                    </div>
                </div>


            </section>
			
			<!-- 默认 end------------------------>
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
        </section>

    </body>


  




 
	

<script type="text/javascript" src="../script/api.js"></script>
<script type="text/javascript" src="../script/doT.js"></script>



		
<script type="text/javascript"> 
  var api_url = localStorage.getItem('api_url');
  var ikmovie="";
  
  
  apiready = function(){ 


	api.parseTapmode();
		
	/*	
				api.showProgress({
				    title: '正在加载',
				    text: '请稍等',
				    modal: false
				});
				
 	*/
				
				
				if(localStorage.getItem('frame_two_show') == 1){
				//显示淘客
		//		var show_taoke = document.getElementById("display-block-show_aoke");   
		//		show_taoke.setAttribute("class", "display-block");
				
		
		api.toast({
			msg: '推荐页调用淘客API',
			duration: 5000,
			location : 'middle' 
	}); 
		
														api.hideProgress();
				

				}else{	  //如果不是淘客
				
				getDate();  //获取数据
				
				//显示默认
				var show_default = document.getElementById("display-block-show_default");   
				show_default.setAttribute("class", "aui-scrollView  display-block");
							

				
				}

	echoInit(); //  图片延时加载
	
	
	
	
	
					// 网络状态
		api.addEventListener({
			name:'offline'
		}, function(ret, err){        

			api.toast({
			msg : '网络连接异常',
			duration : 5000,
			location : 'middle' 
			});

			  

		});

		api.addEventListener({
			name:'online'
		}, function(ret, err){        
		
			  api.toast({
			  msg : '已经连接网络',
			  duration : 2000,
			  location : 'middle' 
			  });
				  

	getDate();  //获取数据

				  
		});	
	
	
	
	
	
  }



function loadImg(ele_) {
var thumbnailBoolean=api.systemType=='ios'?false:true,
dataurl = $api.attr(ele_, 'data-src');
if (dataurl) {
api.imageCache({
url: dataurl,
thumbnail:false
}, function(ret, err) {
if (ret) {
if (ret.status) {
// console.log(ret.url);
ele_.src = ret.url;
$api.removeCls(ele_, 'lazy');
$api.addCls(ele_, 'imgloaded');

// src赋值，也会触发onload，防止循环执行必须移除对应属性
$api.removeAttr(ele_, 'data-src');
$api.removeAttr(ele_, 'onload');
}
} else {
alert(JSON.stringify(err));
}
});

}
}




/////////////获取数据    getDate    s  ///////////
function getDate(){



														// 获取用户数据  和 积分赠送数据
																api.ajax({
															url: api_url+'/login/login/frame_two.html',
															method: 'get',
															dataType: 'text',
															data: {
																values: {
																	key: 'p2piunink',   //安全码
																	uid: localStorage.getItem('user_id')
																}
															}
														},function(ret, err){
															if (ret) { 
															var result="";
															ikmovie=getValue(ret);
		                                                 	result=ikmovieb(ikmovie);
															ret=json(result);
																	
																						localStorage.setItem('nick_name',ret.msg['nick_name']);				//昵称
																						localStorage.setItem('headimgurl',ret.msg['headimgurl']);			//头像
																						localStorage.setItem('zfb',ret.msg['zfb']);							//支付宝收款码
																						localStorage.setItem('upload_headimg_integral',ret.msg['upload_headimg_integral']);							//上传头像积分
																						localStorage.setItem('set_nickname_integral',ret.msg['set_nickname_integral']);							//设置昵称积分
																						localStorage.setItem('upload_alipay_code_integral',ret.msg['upload_alipay_code_integral']);							//支付宝收款码积分
																						localStorage.setItem('wechat_login_code_integral',ret.msg['wechat_login_code_integral']);							//快捷登陆赠送积分
																						
																					

																						upload_headimg_integral.innerHTML = ret.msg['upload_headimg_integral']+' 积分';  
																						set_nickname_integral.innerHTML =  ret.msg['set_nickname_integral']+' 积分'; 
																						upload_alipay_code_integral.innerHTML = ret.msg['upload_alipay_code_integral']+' 积分';  
																						wechat_login_code_integral.innerHTML = ret.msg['wechat_login_code_integral']+' 积分';  
																					
																					
																					
																						//如果是微信登陆
																						if(localStorage.getItem('Source') == '微信'){  

																								//首次上传头像 和 设置昵称 积分赠送任务不可用
																								nick_name.innerHTML = '不可用';  
																								headimgurl.innerHTML = '不可用';  
																								
																								//显示快捷登陆任务
																								var obj = document.getElementById("display-block-wechat_login");   
																								obj.setAttribute("class", "display-block");
							
																								
																								
																						
																						}else{
																						
																						
																						
																								if(ret.msg['nick_name'] ==''){
																								
																								nick_name.innerHTML = '领取积分';
																								
																								}else{
																								
																								nick_name.innerHTML = '已完成';  
																								
																								}	
																							
																								if(ret.msg['headimgurl'] ==''){
																								
																								headimgurl.innerHTML = '领取积分';
																								
																								}else{
																								
																								headimgurl.innerHTML = '已完成';  
																								
																								}	
																						
																						}  
																					
																								if(ret.msg['zfb'] ==''){
																								
																								zfb.innerHTML = '领取积分';
																								
																								}else{
																								
																								zfb.innerHTML = '已完成';  
																								
																								}	  






																    } 
																 });
																 
																 
																 
																 
																 
																 
												//  推荐页 - 顶部图标  

												var recommend_top_ad_list = $api.byId('recommend_top_ad_list');
												var recommend_top_ad_template = $api.byId('recommend_top_ad_template');
												
												//  推荐页 - 中部滚动  
												var recommend_roll_ad_list = $api.byId('recommend_roll_ad_list');
												var recommend_roll_ad_template = $api.byId('recommend_roll_ad_template');
												
												//  推荐页 - 推荐BANNER  

												var recommend_banner_ad = $api.byId('recommend_banner_ad');
																		 
																 
												//  推荐页 - 横幅大图  
												var recommend_big_picture_ad_list = $api.byId('recommend_big_picture_ad_list');
												var recommend_big_picture_ad_template = $api.byId('recommend_big_picture_ad_template');
												
												//  推荐页 - 横幅小图  

												var recommend_small_picture_ad_list = $api.byId('recommend_small_picture_ad_list');
												var recommend_small_picture_ad_template = $api.byId('recommend_small_picture_ad_template');
												
												// 推荐页 - 文字广告  

												var recommend_text_ad_list = $api.byId('recommend_text_ad_list');
												var recommend_text_ad_template = $api.byId('recommend_text_ad_template');
												


												
												api.ajax({
													url: api_url+'/login/login/recommend_ad.html',    // 调用数量限制
													method: 'get',              
													data: {
													  values: {
												key: 'p2piunink',   //安全码
													  }
												  }
												}, function(ret, err) {
													if(ret) {
													
														//推荐页 - 顶部图标  
														var pagefn = doT.template(recommend_top_ad_template.text);
														recommend_top_ad_list.innerHTML = pagefn(ret);
												
											
													//推荐页 - 中部滚动  
														var pagefn = doT.template(recommend_roll_ad_template.text);
														recommend_roll_ad_list.innerHTML = pagefn(ret);

												
												//推荐页 - 推荐BANNER  
														var pagefn = doT.template(recommend_banner_ad_template.text);
														recommend_banner_ad_list.innerHTML = pagefn(ret);
												
												//  推荐页 - 横幅大图  
														var pagefn = doT.template(recommend_big_picture_ad_template.text);
														recommend_big_picture_ad_list.innerHTML = pagefn(ret);
												
												//  推荐页 - 横幅小图  
														var pagefn = doT.template(recommend_small_picture_ad_template.text);
														recommend_small_picture_ad_list.innerHTML = pagefn(ret);
												
												// 推荐页 - 文字广告  
														var pagefn = doT.template(recommend_text_ad_template.text);
														recommend_text_ad_list.innerHTML = pagefn(ret);
														
												
												
												
												
																 
				
														
														api.hideProgress();


													} else {
														api.hideProgress();
														//alert( JSON.stringify( err ) );
													}
												});												
																									 







				
																 
}
/////////////获取数据    getDate    end///////////




/////////////支付宝收款码上传 方法  toAlipay   S   ////////////
		function toAlipay() {

			//如果判断没有登录 就提示  并跳转到登录页面
			if(localStorage.getItem('user_id') < 1) {



					api.openWin({
						name: 'login',
						url: 'widget://html/login.html',
						delay: 300
					});
				return;
			}
			//↑↑↑↑↑↑↑上面LEEi   新加

																api.ajax({
															url: api_url+'/login/login/frame_two.html',
															method: 'get',
															dataType: 'text',
															data: {
																values: {
																	key: 'p2piunink',   //安全码
																	uid: localStorage.getItem('user_id')
																}
															}
														},function(ret, err){
															if (ret) { 
																	var result="";
															ikmovie=getValue(ret);
		                                                 	result=ikmovieb(ikmovie);
															ret=json(result);
																						localStorage.setItem('zfb',ret.msg['zfb']);			//头像
																						
																					
																						if(ret.msg['zfb'] ==''){
																						
																								var delay = 0;
																								if(api.systemType != 'ios') {
																									delay = 300;
																								}

																								
																								api.openWin({
																									name: 'yongjin_win',
																									url: 'widget://html/yongjin_win.html', 
																									bounces: false,
																									delay: delay,
																									slidBackEnabled: true,
																									vScrollBarEnabled: false
																								});


																						
																						}else{
																						
																						
																						zfb.innerHTML = '已完成';  
																						
																						
																						}	


																    } 
																 });



		}
/////////////支付宝收款码上传 方法  toAlipay   E   ////////////




/////////////设置头像 方法  toHeadimg   S   ////////////
		function toHeadimg() {

			//如果判断没有登录 就提示  并跳转到登录页面
			if(localStorage.getItem('user_id') < 1) {


					api.openWin({
						name: 'login',
						url: 'widget://html/login.html',
						delay: 300
						
					});
				return;
			}
			//↑↑↑↑↑↑↑上面LEEi   新加

																api.ajax({
															url: api_url+'/login/login/frame_two.html',
															method: 'get',
															dataType: 'text',
															data: {
																values: {
																	key: 'p2piunink',   //安全码
																	uid: localStorage.getItem('user_id')
																}
															}
														},function(ret, err){
															if (ret) { 
																	var result="";
															ikmovie=getValue(ret);
		                                                 	result=ikmovieb(ikmovie);
															ret=json(result);
																						localStorage.setItem('headimgurl',ret.msg['headimgurl']);			//头像
																						
																					
																						if(ret.msg['headimgurl'] ==''){
																						
																								var delay = 0;
																								if(api.systemType != 'ios') {
																									delay = 300;
																								}

																								
																								api.openWin({
																									name: 'headimg_win',
																									url: 'widget://html/setup/headimg_win.html', 
																									bounces: false,
																									delay: delay,
																									slidBackEnabled: true,
																									vScrollBarEnabled: false
																								});


																						
																						}else{
																						
																						
																								if(localStorage.getItem('Source') == '微信'){  
																								headimgurl.innerHTML = '不可用';  
																								}else{
																								headimgurl.innerHTML = '已完成';  
																								}	
																						
																						
																						
																						}	


																    } 
																 });



		}
/////////////设置头像 方法  toHeadimg   E   ////////////






/////////////设置昵称 方法  toShezhi   S   ////////////
		function toShezhi() {

			//如果判断没有登录 就提示  并跳转到登录页面
			if(localStorage.getItem('user_id') < 1) {


					api.openWin({
						name: 'login',
						url: 'widget://html/login.html',
						delay: 300

					});
				return;
			}
			//↑↑↑↑↑↑↑上面LEEi   新加


																api.ajax({
															url: api_url+'/login/login/frame_two.html',
															method: 'get',
															dataType: 'text',
															data: {
																values: {
																	key: 'p2piunink',   //安全码
																	uid: localStorage.getItem('user_id')
																}
															}
														},function(ret, err){
															if (ret) { 
																	var result="";
															ikmovie=getValue(ret);
		                                                 	result=ikmovieb(ikmovie);
															ret=json(result);
																						localStorage.setItem('nick_name',ret.msg['nick_name']);				//昵称
																						
																					
																						if(ret.msg['nick_name'] ==''){
																						
																									var delay = 0;
																									if(api.systemType != 'ios') {
																										delay = 300;
																									}

																									
																									api.openWin({
																										name: 'shezhi_win',
																										url: 'widget://html/shezhi_win.html', 
																										bounces: false,
																										delay: delay,
																										slidBackEnabled: true,
																										vScrollBarEnabled: false
																									});

																						
																						}else{
																																												
																								if(localStorage.getItem('Source') == '微信'){  

																								nick_name.innerHTML = '不可用';    
																								
																								}else{
																								nick_name.innerHTML = '已完成';  
																								}	
																						
																						
																						
																						
																						}	


																    } 
																 });
			



		}
/////////////设置昵称 方法  toShezhi   E   ////////////













  //访问轮播地址
  function toBanner(url){

    if (url == '') {

	//如果后台填写的跳转链接为空 则无任何操作

    }else{
	
	
	/*
				var str = url ;

				if(str.indexOf("widget://")>-1){   //如果包含 widget://  则执行内部页面跳转


								var str = url;
								var Internal_jump = str.split("widget://html/").join("");
								console.log(Internal_jump);    // 剔除 widget://html/ 后把结果给 Internal_jump
								
								
					　　		api.openWin({
								name: 'Internal_jump',
								url: Internal_jump
								}); 		

*/

/* 

设置中心  widget://html/shezhi_win.html
我的佣金  widget://html/yongjin_win.html
佣金明细  widget://html/yongjinlog_win.html
私人视频  widget://html/video_secret_win.html
升级会员  widget://html/upgrade_vip_win.html
直播专题  widget://html/tv_special_win.html
我的团队  widget://html/tuandui_win.html
提现记录  widget://html/tixianlog_win.html
邀请好友  widget://html/share_win.html
搜索页面  widget://html/search_win.html
观看记录  widget://html/look_record_win.html
我的积分  widget://html/jifen_win.html
帮助中心  widget://html/help_win.html
我的激活码  widget://html/gokalog_win.html
游戏直播间  widget://html/game_zhubo_list_win.html
公告列表  widget://html/artical_win.html
专属客服  widget://html/setup/customer_service_win.html




*/

				if(url == '设置中心'){
					
					api.openWin({
						name: 'shezhi_win',
						url: 'widget://html/shezhi_win.html',
						delay: 300
					});		

				}else if(url == '我的佣金'){
					
					api.openWin({
						name: 'yongjin_win',
						url: 'widget://html/yongjin_win.html',
						delay: 300
					});		
				}else if(url == '佣金明细'){
					
					api.openWin({
						name: 'yongjinlog_win',
						url: 'widget://html/yongjinlog_win.html',
						delay: 300
					});		
				}else if(url == '私人视频'){
					
					api.openWin({
						name: 'video_secret_win',
						url: 'widget://html/video_secret_win.html',
						delay: 300
					});		
				}else if(url == '升级会员'){
					
					api.openWin({
						name: 'upgrade_vip_win',
						url: 'widget://html/upgrade_vip_win.html',
						delay: 300
					});		
				}else if(url == '升级代理'){
					
					api.openWin({
						name: 'upgrade_agent_win',
						url: 'widget://html/upgrade_agent_win.html',
						delay: 300
					});		
				}else if(url == '直播专题'){
					
					api.openWin({
						name: 'tv_special_win',
						url: 'widget://html/tv_special_win.html',
						delay: 300
					});		
				}else if(url == '我的团队'){
					
					api.openWin({
						name: 'tuandui_win',
						url: 'widget://html/tuandui_win.html',
						delay: 300
					});		
				}else if(url == '提现记录'){
					
					api.openWin({
						name: 'tixianlog_win',
						url: 'widget://html/tixianlog_win.html',
						delay: 300
					});		
				}else if(url == '邀请好友'){
					
					api.openWin({
						name: 'share_win',
						url: 'widget://html/share_win.html',
						delay: 300
					});		
				}else if(url == '搜索页面'){
					
					api.openWin({
						name: 'search_win',
						url: 'widget://html/search_win.html',
						delay: 300
					});		
				}else if(url == '观看记录'){
					
					api.openWin({
						name: 'look_record_win',
						url: 'widget://html/look_record_win.html',
						delay: 300
					});		
				}else if(url == '我的积分'){
					
					api.openWin({
						name: 'jifen_win',
						url: 'widget://html/jifen_win.html',
						delay: 300
					});		
				}else if(url == '帮助中心'){
					
					api.openWin({
						name: 'help_win',
						url: 'widget://html/help_win.html',
						delay: 300
					});		
				}else if(url == '我的激活码'){
					
					api.openWin({
						name: 'gokalog_win',
						url: 'widget://html/gokalog_win.html',
						delay: 300
					});		
				}else if(url == '游戏直播间'){
					
					api.openWin({
						name: 'game_zhubo_list_win',
						url: 'widget://html/game_zhubo_list_win.html',
						delay: 300
					});		
				}else if(url == '公告列表'){
					
					api.openWin({
						name: 'artical_win',
						url: 'widget://html/artical_win.html',
						delay: 300
					});		
				}else if(url == '超级客服'){
					
					api.openWin({
						name: 'admin_service_win',
						url: 'widget://html/setup/admin_service_win.html',
						delay: 300
					});		


				}else if(url == '专属客服'){
					
					api.openWin({
						name: 'customer_service_win',
						url: 'widget://html/setup/customer_service_win.html',
						delay: 300
					});		



				}else{       // 否则执行正常H5页面跳转
				
							//	api.toast({
							//	msg: url
							//	});
			
			
			
			                api.openWin({
                            name: 'h5',
                            url: './h5.html',
                            pageParam: {
                                 url: url
								}
                             });


		
				}
	
			
			
	}
  }










    ///////访问轮播地址 方法    toBanner   E   ///////







</script> 
</html>
